﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace ConnectToDatabase.Model
{
    [Serializable()]
    public class DangNhap
    {
        private string m_sMaDangNhap;       
        private string m_sMaNhanVien;       
        private DateTime m_dThoiGianDangNhap;
        private DateTime m_dThoiGianDangXuat;
      
        public string MaNhanVien
        {
            get { return m_sMaNhanVien; }
            set { m_sMaNhanVien = value; }
        }
        public string MaDangNhap
        {
            get { return m_sMaDangNhap; }
            set { m_sMaDangNhap = value; }
        }
        public DateTime ThoiGianDangNhap
        {
            get { return m_dThoiGianDangNhap; }
            set { m_dThoiGianDangNhap = value; }
        }
        public DateTime ThoiGianDangXuat
        {
            get { return m_dThoiGianDangXuat; }
            set { m_dThoiGianDangXuat = value; }
        }
    }
}
